package cn.bon.websocket.pojo.dto;


import cn.bon.websocket.enums.MessageType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2023/12/12 15:51
 **/
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageDTO {
    /**
     * 帧类型
     */
    private MessageType messageType;

    /**
     * 数据
     */
    private WebsocketMessage data;
}
